package com.wangdao.wechatmall.bean.vo.admin;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 *  StatOrderVO
 * created by feng on 7/9/21
 */
@NoArgsConstructor
@Data
public class StatOrderVO {

    @JsonProperty("columns")
    private List<String> columns;
    @JsonProperty("rows")
    private List<RowsDTO> rows;

    @NoArgsConstructor
    @Data
    public static class RowsDTO {
        @JsonProperty("amount")
        private Integer amount;
        @JsonProperty("orders")
        private Integer orders;
        @JsonProperty("customers")
        private Integer customers;
        @JsonProperty("day")
        private String day;
        @JsonProperty("pcr")
        private Integer pcr;
    }
}